package com.woniuxy.main.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.woniuxy.main.mapper.RoomTypeMapper;
import com.woniuxy.main.pojo.RoomType;
import com.woniuxy.main.service.RoomTypeService;

@Service
@Transactional
public class RoomTypeServiceImp implements RoomTypeService {

	@Autowired
	private RoomTypeMapper roomTypeMapper;
	
	
	
	@Override
	public boolean addRoomType(RoomType roomType) {
		
		return roomTypeMapper.addRoomType(roomType);
	}

}
